#ifndef __CONFIGURE_ITEM__
#define __CONFIGURE_ITEM__ 1

#include "config.h"
#include <string>
#include <vector>
#include <cstdint>
#include <sstream>

using std::stringstream;
using std::vector;
using std::string;
using std::int32_t;

namespace ___configure{

/**
 * @brief The configure_item class
 */
class configure_item{
public:
    typedef vector<item>    configure_attr_t;
    typedef vector<item>    configure_value_t;
    typedef string          configure_name_t;

    msgcode create(const string& content, const string& feed);

    configure_name_t name() const{
        return this->m_name;
    }

private:
    string& format(string& str);

private:
    configure_name_t    m_name;
    configure_attr_t    m_attr;
    configure_value_t   m_value;
};

}//end of namespace ___configure

#endif
